#include "elementhistorique.h"

ElementHistorique::ElementHistorique(QString qs, Calque* qi)
{
    info = new QString(qs);
    image = qi;
}


ElementHistorique::~ElementHistorique()
{
    delete image;
    delete info;
}


QString* ElementHistorique::getInfo(){
    return info;
}

void ElementHistorique::setInfo(QString qs){
        delete info;
        info = new QString(qs);
}

Calque* ElementHistorique::getImage(){
    return image;
}
